import http from "@/common/http";
import deptListResponse from './mock/organization.json'

export function apiGetOrganizationList(params: any, useMock?: boolean): Promise<any> {
  if (useMock) {
    return Promise.resolve(deptListResponse)
  }
  return http.get('/gateway/ums/sys-role', params)
}
